#include "A.h"
#include "B.h"

void main()
{
	A *a1 = new A();
	A *a2 = new B();
	a1->x();
	a2->x();
}